/*
 * @Author: 高瑞寒 15932717091@163.com
 * @Date: 2022-01-16 20:22:23
 * @LastEditTime: 2022-04-13 17:08:11
 * @LastEditors: 高瑞寒 15932717091@163.com
 * @Description:
 */
// import { ElButton, ElTimeline, ElCard, ElTable, ElTableColumn, ElImage } from 'element-plus'
// import 'element-plus/dist/index.css'
// import locale from 'element-plus/lib/locale/lang/zh-cn'

import * as ElIconModules from '@element-plus/icons-vue'
import 'element-plus/es/components/message/style/css'
import 'element-plus/es/components/message-box/style/css'

export default (app) => {
  // app.use(ElementPlus, { locale })
  // components.forEach(component => {
  //   app.component(component.name, component)
  // })
  for (const iconName in ElIconModules) {
    app.component(iconName, ElIconModules[iconName])
  }
}
